package com.ten.jinxiancun.server.impl;

import com.ten.jinxiancun.mapper.inventoryMapper;
import com.ten.jinxiancun.server.inventoryServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
/*
* 库存文件表*/
@Service
public class InventoryServerImpl implements inventoryServer {
@Autowired
    inventoryMapper Im;

    @Override
    public List<Map<String, Object>> gatAllInventory(Map<String, Object> map) {
        return Im.gatAllInventoryFind(map);
    }

    @Override
    public Integer inventoryCountFind(Map<String, Object> map) {
        return Im.inventoryCountFind(map);
    }

    @Override
    public Integer inventoryadd(Map<String, Object> map) {
        return Im.inventoryaddFind(map);
    }

    @Override
    public Integer inventoryupdate(Map<String, Object> map) {
        return Im.inventoryupdateFind(map);
    }

    @Override
    public Integer inventorydel(Integer Id) {
        return Im.inventorydelFind(Id);
    }


}
